.container {
    width: 1260px;
    margin: 0 auto;
}

// 列表栏
.xm-product-box {
    position: relative;
    z-index: 4;
    background: #fff;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    -webkit-box-shadow: 0 5px 5px rgba(0, 0, 0, 0.07);
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.07);

    a {
        color: #616161;

        &:hover {
            color: #FF6700;
        }
    }

    .nav-bar {
        position: relative;
        height: 63px;
        width: 100%;
        margin-top: 0;
        color: #616161;

        h2 {
            margin: 0;
            font-size: 18px;
            font-weight: 400;
            line-height: 60px;
            color: #424242;
            float: left
        }

        .left {
            float: left;
            margin-left: 5px;
            font-size: 12px;
            margin-top: 21px;

            .separator {
                margin: 0 .5em;
                color: #424242;
            }
        }

        .right {
            float: right;
            margin: 17px 0 0 0;

            .separator {
                margin: 0 .5em;
                color: #e0e0e0;
            }
        }
    }

    &.nav-bar-hidden {
        position: fixed;
        top: -10px;
        left: 0;
        z-index: 99;
        width: 100%;
        margin-top: -60px;
        -webkit-transition: margin-top .3s linear;
        transition: margin-top .3s linear;
        -webkit-box-shadow: none;
        box-shadow: none;

        &.nav_fix {
            position: fixed;
            top: 0;
            background: #fff;
            margin-top: 0;
            border-bottom: 1px solid #e0e0e0;
            -webkit-box-shadow: 0 5px 5px rgba(0, 0, 0, 0.07);
            box-shadow: 0 5px 5px rgba(0, 0, 0, 0.07);
        }
    }

}

//页面信息
//未登陆提示信息
.login-notic {
    background: #f7f7f7;
    width: 100%;
    text-align: center;
    height: 48px;
    line-height: 48px;
    color: #333;

    .login {
        margin-left: 25px;
        color: #FF6700;
    }

    .icon-delete1 {
        color: #b5b5b5;
        font-size: 18px;
        vertical-align: middle;
        margin-left: 10px;
    }
}

//页面信息上半部分
.product-box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding-top: 32px;
    padding-bottom: 12px;

    // 页面上部左边轮播图
    .img-left {
        width: 606px;
        position: relative;

        .product-imglist {
            position: relative;
            height: 566px;

            .imgbox {
                position: absolute;
                top: 0;
            }

            .swiper-container {
                width: 560px;

                .swiper-pagination-bullet {
                    background: #ccc;
                    width: 50px;
                    border-radius: 0;
                    border: 0;
                    height: 3px;

                    &:hover {
                        background: #999;
                        cursor: pointer;
                    }
                }

                .swiper-button-next {
                    background: url(../images/detail-page/icon-slides.png) no-repeat -128px 50%;
                    right: 0;
                    left: auto;

                    &::after {
                        display: none;
                    }

                    &:hover {
                        background-position: -42px 50%;
                    }
                }

                .swiper-button-prev {
                    background: url(../images/detail-page/icon-slides.png) no-repeat -84px 50%;
                    left: 0;
                    right: auto;

                    &:hover {
                        background-position: 0 50%;
                    }

                    &::after {
                        display: none;
                    }
                }

                .swiper-button-prev,
                .swiper-button-next {
                    position: absolute;
                    top: 50%;
                    width: 41px;
                    height: 69px;
                    margin-top: -35px;
                    z-index: 10;
                    cursor: pointer;
                    outline: none;
                }
            }

            img {
                width: 560px;
                height: 560px;
            }
        }
    }

    //页面上部详细信息
    .product-con {
        -webkit-box-flex: 1;
        -ms-flex: 1;
        flex: 1;
        margin-left: 20px;

        h2 {
            margin: 0;
            padding: 0;
            font-size: 24px;
            font-weight: 400;
            color: #212121;
        }

        .sale-desc {
            color: #b0b0b0;
            margin: 0;
            padding: 0;
            padding-top: 8px;
            line-height: 1.5;
        }

        .company-info {
            color: #ff6700;
            margin-top: 14px;
            margin-bottom: 0;

        }

        .price-info {
            display: block;
            font-size: 18px;
            line-height: 1;
            color: #ff6700;
            padding: 12px 0 10px;

            del {
                font-size: 14px;
                margin-left: 5px;
                color: #b0b0b0;
            }
        }

        .line {
            margin-top: 12px;
            border-bottom: 1px solid #e0e0e0;
        }

        .address-box {
            margin: 20px 0;

            .product-address {
                padding: 30px 50px;
                position: relative;
                background: #fafafa;
                border: 1px solid #e0e0e0;

                .icon-zuobiao {
                    position: absolute;
                    left: 20px;
                    top: 26px;
                    font-size: 20px;
                    color: #999;


                }

                .address-info {
                    display: inline-block;

                    span {
                        display: inline;
                        margin-right: 14px;
                    }
                }


                .edit {
                    display: inline-block;
                    color: #ff6700;
                    margin: 0
                }

                .info {
                    color: #b0b0b0;

                    span {
                        color: #FF6700;
                    }
                }
            }
        }

        .buy-option .batch-box,
        .buy-option .buy-box-child,
        .buy-option .buy-box-mode {
            margin-bottom: 30px;
            position: relative;
        }

        .buy-option {
            .title {
                font-size: 18px;
            }

            li {
                margin-right: 12px;
                margin-top: 10px;
                line-height: 42px;
                height: 42px;
                position: relative;
                border: 1px solid #e0e0e0;
                list-style: none;
                cursor: pointer;
                -webkit-transition: all .2s ease;
                transition: all .2s ease;
                float: left;
                width: 292px;
                font-size: 16px;
                text-align: center;

                &:hover {
                    border-color: #ff6700;
                }

                a {
                    color: #b0b0b0;
                }

                &.active {
                    z-index: 3;
                    border-color: #ff6700;
                }
            }
        }

        .selected-list {
            background: #f9f9fa;
            padding: 30px;
            margin-bottom: 30px;

            ul {
                li {
                    list-style: none;
                    line-height: 30px;
                    color: #616161;

                    span {
                        float: right;
                    }

                    del {
                        float: right;
                    }
                }

                &:first-child {
                    margin-top: 0;
                }

            }

            .total-price {
                color: #ff6700;
                font-size: 24px;
                padding-top: 20px;
            }
        }

        .btn-box {
            margin: 10px 0 20px 0;

            .sale-btn {
                display: inline-block;
                margin-right: 10px;

                .btn {
                    width: 298px;
                    height: 52px;
                    line-height: 52px;
                    font-size: 16px;
                    display: inline-block;
                    padding: 0;
                    margin: 0;
                    border: 1px solid #b0b0b0;
                    text-align: center;
                    cursor: pointer;
                    -webkit-transition: all .4s;
                    transition: all .4s;
                }
            }

            .favorite-btn {
                display: inline-block;
                vertical-align: top;

                .btn-like {
                    display: block;
                    width: 140px;
                    height: 52px;
                    line-height: 52px;
                    padding: 0;
                    margin: 0;
                    border: 1px solid #b0b0b0;
                    text-align: center;
                    cursor: pointer;
                    -webkit-transition: all .4s;
                    transition: all .4s;
                    font-size: 16px;
                    position: relative;
                }
            }
        }

        .after-sale-info {
            span {
                display: inline-block;

                a {
                    display: inline-block;
                    margin-right: 15px;
                    line-height: 30px;
                    margin-bottom: 10px;
                    cursor: default;
                    white-space: nowrap;
                    color: #b0b0b0;
                    font-size: 16px;

                    i {
                        font-size: 20px;
                        display: inline-block;
                        font-style: normal;
                        vertical-align: middle;
                    }

                    em {
                        font-style: normal;
                        display: inline-block;
                        margin-left: 2px;
                        vertical-align: middle;
                    }
                }
            }
        }
    }
}

.btn-line-primary {
    border-color: #ff6700;
    background: #fff;
    color: #ff6700;

    &:hover {
        color: #fff;
        background-color: #f25807;
        border-color: #f25807;
    }
}

.btn-gray {
    background: #b0b0b0;
    border-color: #b0b0b0;
    color: #fff;

    &:hover {
        background-color: #757575;
        border-color: #757575;
        color: #fff;
    }
}

.mi-detail {
    ul {
        margin: 0;
        padding: 0;
    }
}

// 页面信息下半部分
.product-detail {
    padding-bottom: 50px;

    &.page-main {
        background: #f5f5f5;
    }

    .detail-banner {
        text-align: center;
        padding: 10px 0;
        background: #fff;
        border-top: 1px solid #ddd;

        ul {
            width: 100%;

            li {
                width: 168px;
                height: 18px;
                padding: 20px 0;
                line-height: 18px;
                text-align: center;
                font-size: 18px;
                color: #424242;
                display: inline-block;

                &:last-child a {
                    border-right: none;
                }

                a {
                    width: 170px;
                    display: block;
                    cursor: pointer;
                    border-right: 1px solid #e0e0e0;
                    color: #b5b5b5;

                    &:hover {
                        color: #f25807;
                    }
                }
            }
        }

        .active {
            a {
                color: #f25807;
            }

        }
    }

    .detail-box {
        .detail-item {
            .img-box {
                position: relative;
                width: 100%;
                overflow: hidden;
                margin: 0 auto;

                img {
                    position: absolute;
                    left: 50%;
                    top: 0;
                    -webkit-transform: translate3d(-50%, 0, 0);
                    transform: translate3d(-50%, 0, 0);
                    height: 100%;
                }
            }

            .title {
                h3 {
                    font-size: 22px;
                    font-weight: 400;
                    margin-top: 0;
                    margin-bottom: 0;
                    padding: 1em 0;
                }
            }
        }
    }
}